package com.swxc.ssm.mapper;

import com.swxc.ssm.po.Course;

import java.util.List;

public interface CourseMapper {
    int deleteByPrimaryKey(Integer ID);

    int insert(Course record);

    int insertSelective(Course record);

    Course selectByPrimaryKey(Integer ID);

    List<Course> selectByCategoryId(Integer ID);

    List<Course> selectByStatus(Integer ID);

    Course selectByName(String name);

    List<Course> search(String name);

//    List<Course> selectByUsertocouStatus(Integer ID,Integer ID2);

    List<Course> selectAll();

    int updateByPrimaryKeySelective(Course record);

    int updateByPrimaryKey(Course record);
}